Add --with-crypto=gnutls
authorJussi Laako <jussi.laako@linux.intel.com>
Tue, 13 Jun 2017 13:56:21 +0000 (16:56 +0300)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 25 Sep 2017 12:58:54 +0000 (12:58 +0000)
commitf91acf522631025ce036cc574b166939b95540dd
treee4da955b491c91dd215d8f6396ec5a50abb7974a
parentee5ecf33a55fb22ef121d76721dea0297d712c8f
Add --with-crypto=gnutls

Introduce support for GnuTLS for computing cryptograpic
hashes, similar to the OpenSSL backend.  A reason to do
this is some distributors want to avoid GPLv3, and GPG
pulls that in.

A possible extension of using GnuTLS would be replacing the GPG signing
with `PKCS#7` signatures and `X.509` keys.

We also support `--with-crypto=openssl`, which has the same effect
as `--with-openssl`, and continues to be supported.

Changes by Colin Walters <walters@verbum.org>:

 - Drop libgcrypt option for now
 - Unify buildsystem on --with-crypto

Link: https://mail.gnome.org/archives/ostree-list/2017-June/msg00002.html
Signed-off-by: Jussi Laako <jussi.laako@linux.intel.com>
Closes: #1189
Approved by: cgwalters
.papr.yml
Makefile-libostree.am
configure.ac
src/libotutil/ot-checksum-instream.c